﻿using System;


namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            const double PI = 3.1415926;
            int r = 5;
            
            Console.WriteLine("圆的面积是：" + PI * r * r);
            //驼峰命名
            string userName = "ab";
            
            var abc = 5 < 2;
            if (abc)
            {
                Console.WriteLine("条件为真");
            }

            int vv = 22;
            int cc = 33;
            if (cc > vv)
            {
                Console.WriteLine("cc大");
            }
            else if (cc == vv)
            {
                Console.WriteLine("cc和vv一样大");
            }
            else
            {
                Console.WriteLine("vv大");
            }

            int points = 93;
            switch(points/10)
            {
                case 10:

                case 9:

                case 8:
                    Console.WriteLine("学神");
                    break;
                case 7:

                case 6:

                case 5:
                    Console.WriteLine("学霸");
                    break;
                case 4:

                case 3:

                case 2:

                case 1:
                    Console.WriteLine("学渣");
                    break;
            }
           

        }
    }
    //帕斯卡命名法
    class UserRoler
    { }
}
